﻿using System.Web.Mvc;
using TestSystem.Domain.Entities;
using enitiesCandidate = TestSystem.Domain.Entities.Candidate;

namespace TestSystem.Controllers.Administrator
{
    [Authorize(Roles = "Administrator")]
    public class AdministratorController : Controller
    {
        //
        // GET: /Admin/

        public ActionResult Index()
        {
            return View();
        }

        public ActionResult addCandidate()
        {
            return View(new enitiesCandidate::Candidate());
        }

        [HttpPost]
        public ActionResult addCandidate(enitiesCandidate::Candidate candidate)
        {
            return View();
        }
    }
}
